Skip to content

ScheduledItem class

Defined in

Namespace: System.Reactive.Concurrency Assembly: System.Reactive.dll Full name: System.Reactive.Concurrency.ScheduledItem<T> Modifiers: public abstract

Summary

        Abstract base class for scheduled work items.
        

Applies to

netstandard2.0

Class hierarchy
classDiagram
class ScheduledItem~T~
class IScheduledItem~TAbsolute~ {
    <>
}
IScheduledItem~TAbsolute~ <|.. ScheduledItem~T~
class IComparable~ScheduledItem~TAbsolute~~ {
    <>
}
IComparable~ScheduledItem~TAbsolute~~ <|.. ScheduledItem~T~
class IDisposable {
    <>
}
IDisposable <|.. ScheduledItem~T~

Implements: IScheduledItem, IComparable>, IDisposable

Constructors

NameSummary
.ctorCreates a new scheduled work item to run at the specified time.

Properties

NameSummary
DueTimeGets the absolute time at which the item is due for invocation.
IsCanceledGets whether the work item has received a cancellation request.

Methods

NameSummary
InvokeInvokes the work item.
InvokeCoreImplement this method to perform the work item invocation, returning a disposable object for deep cancellation.
CompareToCompares the work item with another work item based on absolute time values.
EqualsDetermines whether a [ScheduledItem](# object is equal to the specified object.
GetHashCodeReturns the hash code for the current [ScheduledItem](# object.
CancelCancels the work item by disposing the resource returned by [InvokeCore](# as soon as possible.

Operators

NameSummary
static op_LessThanDetermines whether one specified [ScheduledItem](# object is due before a second specified [ScheduledItem](#
static op_LessThanOrEqualDetermines whether one specified [ScheduledItem](# object is due before or at the same of a second specified...
static op_GreaterThanDetermines whether one specified [ScheduledItem](# object is due after a second specified [ScheduledItem](#
static op_GreaterThanOrEqualDetermines whether one specified [ScheduledItem](# object is due after or at the same time of a second specified...
static op_EqualityDetermines whether two specified [ScheduledItem](# objects are equal.
static op_InequalityDetermines whether two specified [ScheduledItem](# objects are inequal.
Inherited members